Implementation of WEB-httpd user authentication control and https on httpd in CentOS
We can configure httpd by setting user authentication and implementing https encrypted transmission experiments. The following are the requirements of this
Httpd-2.2 and httpd-2.4 Build Secure http service based on VirtualHost
Directory:I. CentOS6 use httpd-2.2 to build httpd service based on Domain NameIi. centos7 use httpd2.4 to build httpd services based on domain names3. centos6 compile and install
SELinux is short for security-enhanced Linux. The traditional Linux permission controls the owner, group, and other rwx of files and directories, while SELinux uses the delegated access control, that is to say, to control the access of a process to
The purpose of this experiment is to CentOS7 the system, httpd-2.4 configuration of two virtual hosts , the following requirements:(1) Provide two name-based virtual hosts:www1.stuX.com, the page file directory is/WEB/VHOSTS/WWW1; The error log
Web website Service:Apache the famous open source Web Service software, maintenance operations by the ASF Free Software FundOfficial site: http://httpd.apache.org/http://www.netcraft.com/ for various Web detailed statistics on the market share of
Implemented using httpd-2.2 and httpd-2.4, respectively1. Establish httpd service, request:1) provide two name-based virtual host WWW1, WWW2; there are separate error logs and access logs;2) Provide status information through WWW1 's/server-status,
Corosync: It belongs to the Openais (Open Application Interface Specification) in a project Corosync a version of itself does not have the voting function, after Corosync 2.0 introduced Votequorum subsystem also has the voting function, if we use
Httpd. conf
Apache main configuration file:/etc/httpd/conf/httpd. confDefault site home directory:/var/www/html/The configuration information of the Apache server is stored in the master configuration file/etc/httpd/conf/httpd. in conf, there are a
Apache server program
Command httpd:
-T test configuration file
-L static module
-D dump_modules dynamic module
-H for help
-M: equivalent to-D dump_modules
-D dump_vhosts: List Virtual Hosts
Htpasswd:
Create and update user
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.